<template>
    <div>        
        <div class="top">
          <div class="left"><img src="@/assets/logo.png" alt=""></div>       
          <div class="right">
              <p><i class="iconfont top-i icon-user"></i>
              <br><span class="r-zi">我的</span></p>
              <p><i class="iconfont top-i icon-nav"></i>
              <br><span class="r-zi">导航</span></p>
          </div>       
        </div>
        <lbt />
        <div class="nav">
            <ul>
                <li> <i class="iconfont i1 iconfonts icon-case"></i><br>               <span>装修方案</span></li>
                <li> <i class="iconfont i2 iconfonts icon-pics"></i> <br>              <span>效果图</span></li>
                <li> <i class="iconfont i3 iconfonts icon-designer"></i> <br>          <span>设计师</span></li>
                <li> <i class="iconfont i4 iconfonts icon-construction-site"></i> <br> <span>装修工地</span></li>
                <li> <i class="iconfont i5 iconfonts icon-decorate"></i> <br>          <span>装修攻略</span></li>
                <li> <i class="iconfont i6 iconfonts icon-loans"></i> <br>             <span>装修贷款</span></li>
                <li> <i class="iconfont i7 iconfonts icon-pencle"></i> <br>            <span>免费预约</span></li>
                <li> <i class="iconfont i8 iconfonts">10</i> <br>                      <span>十秒报价</span></li>
            </ul>
        </div>
        <hei />
        <div class="qwzx">
            <span class="zhu"></span><h3>全屋装修</h3><span class="qwzx-zi">包设计、包主材、包水电、包施工</span>
        </div>
        <div class="img1">
            <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
  <van-swipe-item>
            <img src="@/assets/img1.jpg" alt="">
  </van-swipe-item>
  <van-swipe-item>
            <img src="@/assets/img1.jpg" alt="">
  </van-swipe-item>
</van-swipe>
        <div class="bottom">
            <span><i class="bootomi ">0</i>0增项，标准施工</span>
            <span><i class="bootomi iconfont icon-protection-fill"></i>杜绝项目外包</span>
            <span><i class="bootomi iconfont icon-price"></i>装修贷款</span>
        </div>
         <hei />
        <div class="qwzx">
            <span class="zhu"></span><h3>装修预约</h3><span class="qwzx-zi">免费上门量房，实际方案满意为止</span>
        </div>
        <div class="from-box">
          <div class="from-bo">
                <div class="from">
  <van-field class="in" v-model="value" label="小区名"  /> 
  <van-field class="in" v-model="value" label="手机号"  /> 
  <van-field class="in" v-model="value" label="建筑面积"  />
  <button class="btn">立即申请</button>
            </div>
          </div>
        </div>
           <hei />
        <div class="qwzx">
            <div class="zhu"></div><h3>设计师</h3>
        </div>
        </div>
    </div>
</template>
<script>
import lbt from "@/components/Lbt.vue";
import hei from "@/components/Hei.vue";
export default {
  data() {
    return {
      value:''
    };
  },
  components: {
    lbt,
    hei
  },
  created() {},
  methods: {}
};
</script>
<style lang="scss" scoped>
.from-box{
    width: 100%;
    // overflow: hidden;
    height: 204px;
    background-color: black;
    .from-bo{
        overflow: hidden;
    }
    .from{
        width: 70%;
        height: 92%;
        // background-color: #7b72e9;
        margin: auto;
        margin-top: 7px;
        .in{
            margin: 5px 0;
            border-radius: 8px;
        }
    }
    .btn{
        width: 100%;
        height: 30px;
        margin: 5px 0;
        font-size: 18px;
        color: whitesmoke;
        background-color: #eed215;
        border-radius: 5px;
        border: none;  
        }
}
.img1 {
  width: 100%;
  img {
    width: 100%;
    margin-bottom: 10px;
  }
}
.bottom{
  display: flex;
  justify-content: space-around;
  line-height: 40px;
  .bootomi{
    border: 2px solid #39c894;
    border-radius: 50px;
    width: 10px;
    height: 10px;
}
}

.qwzx {
  width: 100%;
  height: 52px;
  // margin-bottom: 18px;
  display: flex;
  h3 {
    margin: 0;
    padding: 0;
    margin: 8px;
    font-size: 18px;
  }
  .qwzx-zi {
    color: #eaeaea;
    margin-top: 15px;
    font-size: 12px;
  }
  .zhu {
    margin: 9px 5px;
    height: 21px;
    width: 3px;
    color: #39c894;
    display: inline-block;
    background-color: #39c894;
  }
}
.iconfonts {
  color: #333;
  width: 60px;
  text-align: center;
  height: 60px;
  line-height: 60px;
  border-radius: 50px;
  color: #fff;
  margin-bottom: 5px;
  display: inline-block;
  font-size: 28px;
}
.i1 {
  background-color: #39c894;
}
.i2 {
  background-color: #feb505;
}
.i3 {
  background-color: #eed215;
}
.i4 {
  background-color: #00b2b2;
}
.i5 {
  background-color: #1b9af7;
}
.i6 {
  background-color: #7b72e9;
}
.i7 {
  background-color: #ff4351;
}
.i8 {
  background-color: #fe8864;
}
.nav {
  width: 100%;
  height: 200px;
  padding: 10px;
  ul {
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap-reverse;
    li {
      width: 17%;
      font-size: 14px;
      margin-top: 18px;
      text-align: center;
      margin-left: 12px;
      span {
        margin-bottom: 0px;
      }
      margin-right: 12px;
    }
  }
}
.top,
.right {
  display: flex;
  justify-content: space-between;
}
.left {
  img {
    margin-left: 18px;
    margin-top: 16px;
    width: 120px;
    margin-bottom: 16px;
  }
}
.right {
  p {
    margin: 5px 10px;
  }
  text-align: center;
  .r-zi {
    font-size: 22px;
    color: #999;
  }
  .top-i {
    font-size: 22px;
    color: #999;
    margin-bottom: 18px;
  }
}
</style>
